<?php
/**
* @package controller
* @file headerController.php
* @date 19.08.2009
* @version 1.0
* @copyright sample
* @author 
* @todo phpDoc comments
*/
require_once 'Zend/Controller/Action.php';

class Header_HeaderController extends Cms_Controller_Action
{
	
	public function init()
	{	
		
	}
	public function indexAction()    
	{ 
			
	}
	public function taskAlertAction()
	{
		$this->_helper->layout->disableLayout();
		$results = Doctrine::getTable('TaskForce')->getTaskForce(IM_USER_ID);
		$this->view->title = $results[0]['title'];
		$this->view->id = $results[0]['id'];
		Doctrine::getTable('TaskForceMembers')->updateView($results[0]['id']);
		//echo '<pre>';print_r($results);exit;	
	}
	public function loginAction()
	{
	
	}
}